
package com.sasis.dao;

import java.util.List;

import com.sasis.dao.Dao;
import com.sasis.model.HighRequest;

public interface HighRequestDao extends Dao {

    /**
     * Retrieves all of the highRequests
     */
    public List getHighRequests(HighRequest highRequest);
    
    public List selectHighRequests(HighRequest highRequest);

    /**
     * Gets highRequest's information based on primary key. An
     * ObjectRetrievalFailureException Runtime Exception is thrown if 
     * nothing is found.
     * 
     * @param id the highRequest's id
     * @return highRequest populated highRequest object
     */
    public HighRequest getHighRequest(final Integer id);
    public List getHighRquestByTaskId(String taskId); 
    /**
     * Saves a highRequest's information
     * @param highRequest the object to be saved
     */    
    public void saveHighRequest(HighRequest highRequest);
    public int saveHighRequestStatus(String requestId);
    /**
     * Removes a highRequest from the database by id
     * @param id the highRequest's id
     */
    public void removeHighRequest(final Integer id);
}

